from typing import List

from pydantic import BaseModel

headers = {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
    "Accept-Encoding": "gzip, deflate",
    "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
    "Host": "wiki.mbalib.com",
    "Referer": "https://wiki.mbalib.com/wiki/MBA%E6%99%BA%E5%BA%93%E7%99%BE%E7%A7%91:%E5%88%86%E7%B1%BB%E7%B4%A2%E5%BC%95",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
}


class DownClassModel(BaseModel):
    id: str = ''
    pare: str = ''
    marks: List[str] = []


class SaveClassModel(BaseModel):
    id: str = ''
    html: str = ''
    full_class: str = ''


class SaveArticleModel(BaseModel):
    id: str = ''
    html: str = ''
    full_class: str = ''
    az_class: str = ''
    parent_name: str = ''
